Add x86_64 to the supported architectures since otherwise the tests
authorEwan Mellor <ewan@xensource.com>
Tue, 24 Oct 2006 15:46:02 +0000 (16:46 +0100)
committerEwan Mellor <ewan@xensource.com>
Tue, 24 Oct 2006 15:46:02 +0000 (16:46 +0100)
don't run.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/xm-test/lib/XmTestLib/arch.py

index d5a1aa55cb176e92ebd87a79e4a67f4643588bb0..5625a535460e7f27c15d9770b08560ce33c41400 100644 (file)
@@ -124,6 +124,7 @@ _uname_to_arch_map = {
     "i486"  : "x86",
     "i586"  : "x86",
     "i686"  : "x86",
+    "x86_64": "x86_64",
     "ia64"  : "ia64",
     "ppc"   : "powerpc",
     "ppc64" : "powerpc",
@@ -131,7 +132,7 @@ _uname_to_arch_map = {
 
 # Lookup current platform.
 _arch = _uname_to_arch_map.get(os.uname()[4], "Unknown")
-if _arch == "x86" or _arch == "ia64":
+if _arch == "x86" or _arch == "x86_64" or _arch == "ia64":
     minSafeMem = ia_minSafeMem
     getDefaultKernel = ia_getDefaultKernel
     checkBuffer = ia_checkBuffer